// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.EntityFrameworkCore</Project>
// <FileName>InitialBangChuangDbBuilder.cs</FileName>
// <CreateTime>2017-05-04 0:07</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-05-04 0:07" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>
namespace Vecen.BangChuang.EntityFrameworkCore.Seed.BangChuang {
    public class InitialBangChuangDbBuilder {
        private readonly BangChuangDbContext _context;
        public InitialBangChuangDbBuilder(BangChuangDbContext context) {
            _context = context;
        }

        public void Create() {
            new ProductCategoriesDataBuilder(_context).Create();
            new BankTypeDataBuilder(_context).Create();
        }
    }
}